package com.tengroup.dao;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tengroup.entity.Question;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
@Mapper
@TableName("questions")
public interface QuestionDao extends BaseMapper<Question> {
    List<Question> findbyconditions(@Param("question_type") String question_type,@Param("difficulty") String difficulty,@Param("subject_id") Integer subject_id,int limit);
}
